package gameobjects;

public class Player {
	public final String name;
	
	/**
	 * Creates a new player
	 * 
	 * @param String name the name of the player
	 */
	public Player(String name){
		this.name = name;
		//TODO initialize other variables in the Player constructor
		//TODO create a WindRose and a Tableau for the player
	}
	
	/**
	 * returns the prestige points for a player
	 * @return  the number of prestige points
	 */
	public int getPrestige(){
		return 0;
		//TODO implement Player.getPrestige
	}
	
	/**
	 * Add prestige points for the player.
	 * @param pts the number of points to add. Make negative for subtraction
	 */
	public void addPrestige(int pts){
		//TODO implement Player.addPrestige
	}
	
	/**
	 * Add gold for the player.
	 * @param g The amount of gold to add. Make negative for subtraction
	 */
	public void  addGold(int g){
		//TODO implement Player.addGold
	}
	
	/**
	 * returns the amout of gold the player has
	 * @return the amount of gold
	 */
	public int getGold(){
		return 0;
		//TODO implement Player.getGold
	}
	
	/**
	 * Give the player a certain amount of action cubes
	 * @param ac the action cube type
	 * @param amt the amount of action cubes. Make negative to subtract
	 */
	public void addResource(ActionCube ac, int amt){
		//TODO implement Player.addResource
	}
	
	/**
	 * 
	 * @param ac the action cube type
	 * @return the number of action cubes
	 */
	public int getResource(ActionCube ac){
		return 0;
		//TODO implement Player.getResource
	}
	
	/**
	 * Adds resource cubes to the player's windrose
	 * @param cubetype the type of cube to add
	 * @param position the position and quantity to add
	 */
	public void setWindRoseCubes(ActionCube cubetype, int position){
		//TODO implement Player.setWindRoseCubes
	}
	
	/** 
	 * Adds actioncubes to the windrose based on the dice the player selects.
	 * @param dice The first dice the player selects
	 * @param dice2 The second dice the player selects
	 */
	public void setWindRoseCubes(Dice dice1, Dice dice2){
		this.setWindRoseCubes(dice1.actionCube, dice1.getValue());
		this.setWindRoseCubes(dice2.actionCube, dice2.getValue());
	}
	
}
